program Table;

{$APPTYPE CONSOLE}

uses
  SysUtils;

var
  i, n, n1, s1 : integer;
  a, b, x0, y0, s2 : real;
  fin, fout : textFile;
  massx, massy, mass1, mass2 : array of integer;

begin

  s1 := 0;
  s2 := 0;
  assignFile(fin, 'input.txt');
  assignFile(fout, 'input2.txt');
  reset(fin);
  read(fin, n);
  setlength(massx, n-1);
  setlength(massy, n-1);
    for i := 0 to (2*(n-1)) do
    begin
      if (i mod 2 = 0) then
        begin
          read(fin, massx[i div 2]);
        end;
      if (i mod 2 <> 0) then
        begin
          read(fin, massy[i div 2]);
        end;
     end;

     for i:=0 to 2*n - 2 do
      begin
        a := a + massx[i];
        x0:= a/n;
      end;

     for i := 0 to 2*n - 2 do
      begin
        b := b + massy[i];
        y0:= b/n;
      end;
     reset(fout);
     read(fout, n1);
     setlength(mass1, n1-1);
     setlength(mass2, n1-1);

     massx[n1] := massx[0];
     massy[n1] := massy[0];

     for i := 0 to n-1 do
     begin
       s1 := s1 + abs((mass1[i]-mass1[0])*(mass2[i+1]- mass2[0])- (mass1[i+1]-mass1[0])*(mass2[i]-mass2[0]));
     end;

     for i:=0 to n-1 do
     begin
     s2 := s2 + abs((mass1[i]-x0)*(mass2[i+1]- y0)- (mass1[i+1]-x0)*(mass2[i]-y0));
     end;

     if (s1 = s2) then
       begin
       writeln('stay')
       end;
    if (s1 <> s2) then
      begin
       writeln('fall');
      end;

      readln;
      closeFile(fin);

end.
 